# Copyright 2008 Thomas Quemard
#
# Grabova is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 3.0, or (at your option)
# any later version.
#
# Grabova is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.

import grabova
import grabova.client
import os

grabova_ini = os.getenv("HOME") + "/.grabova/grabova.ini"
my_shows_ini = os.getenv("HOME") + "/.grabova/shows.ini"

gr = grabova.Grabova()
gr.load(grabova_ini)
gr.shows.load(my_shows_ini)
gr.grab_all()
gr.shows.save(my_shows_ini)


